/*
 * @(#)KeyPair.java
 * Date 2013-02-24
 * Version 1.0
 * Author Jim Horner
 * Copyright (c)2012
 */


package us.hornerscorners.lamppost.ws;

import java.security.Key;

import java.security.cert.Certificate;


/**
 *
 * @author jim
 */
public class KeyPair {

    /** Field description */
    private final Key privateKey;

    /** Field description */
    private final Certificate publicCert;

    /**
     * Constructs ...
     *
     *
     * @param pc
     * @param pk
     */
    public KeyPair(Certificate pc, Key pk) {

        super();
        this.publicCert = pc;
        this.privateKey = pk;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public Key getPrivateKey() {
        return privateKey;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public Certificate getPublicCert() {
        return publicCert;
    }
}
